package com.youdianda;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@Slf4j
@EnableTransactionManagement
@MapperScan("com.youdianda.mapper")
public class youdiandaApplication {
    public static void main(String[] args) {
        SpringApplication.run(youdiandaApplication.class,args);
        log.info("服务开启");
    }
}
